package com.demo.camunda.entity;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.logging.log4j.message.Message;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.userdetails.UserDetails;

import javax.validation.constraints.NotBlank;
import java.util.Collection;

@TableName(value = "sys_user")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User  {

    @TableId
    @NotBlank(message = "kong")
    private String id;

    private String userId;

    private String userName;

    private String userPassWord;

    private String deptId;

    private String role;

}
